#import <UIKit/UIKit.h>
#import "Masonry.h"
#import "LiveGiftShowModel.h"
#ifdef DEBUG
#define WLog(s, ... ) NSLog( @"[%@ in line %d] %@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__] )
#else
#define WLog(s, ... )
#endif
typedef NS_ENUM(NSUInteger, LiveGiftShowMode) {
    LiveGiftShowModeFromTopToBottom = 0,
    LiveGiftShowModeFromBottomToTop = 1,
};
typedef NS_ENUM(NSUInteger, LiveGiftHiddenMode) {
    LiveGiftHiddenModeRight = 0,
    LiveGiftHiddenModeLeft = 1,
    LiveGiftHiddenModeNone = 2,
};
typedef NS_ENUM(NSUInteger, LiveGiftAppearMode) {
    LiveGiftAppearModeNone = 0,
    LiveGiftAppearModeLeft = 1,
};
typedef NS_ENUM(NSUInteger, LiveGiftAddMode) {
    LiveGiftAddModeReplace = 0,
    LiveGiftAddModeAdd     = 1,
};
@protocol LiveGiftShowCustomDelegate <NSObject>
@optional
- (void)giftDidRemove:(LiveGiftShowModel *)showModel;
@end
@interface LiveGiftShowCustom : UIView
+ (instancetype)addToView:(UIView *)superView;
@property(nonatomic, assign) CGFloat kExchangeAnimationTime;
@property(nonatomic, assign) CGFloat kAppearAnimationTime;
@property(nonatomic, assign) LiveGiftAddMode addMode;
@property(nonatomic, weak) id<LiveGiftShowCustomDelegate> delegate;
- (void)enableInterfaceDebug:(BOOL)isDebug;
- (void)setMaxGiftCount:(NSInteger)maxGiftCount;
- (void)setShowMode:(LiveGiftShowMode)model;
- (void)setHiddenModel:(LiveGiftHiddenMode)model;
- (void)setAppearModel:(LiveGiftAppearMode)model;
- (void)addLiveGiftShowModel:(LiveGiftShowModel *)showModel;
- (void)addLiveGiftShowModel:(LiveGiftShowModel *)showModel showNumber:(NSInteger)showNumber;
- (void)animatedWithGiftModel:(LiveGiftShowModel *)showModel;
@end
